package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketGoods;
import com.cskaoyan.market.db.domain.MarketGoodsExample;
import com.cskaoyan.market.db.mapper.MarketGoodsMapper;

import java.util.List;

public class GoodsServiceImpl implements GoodsService {
    MarketGoodsMapper goodsMapper;

    @Override
    public List<MarketGoods> list() {
        return goodsMapper.selectByExample(new MarketGoodsExample());
    }
}
